public class Dog {
    Dogstate state;
    public void show(){
        state.showState();
    }
    public void setState(Dogstate s){
        state = s;
    }
}
